<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    <title>彩生活授权用户</title>
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->
  </head>
  
  <body>
    <table border="1px red solid;" width="100%">
    	<tr>
    		<td colspan="12" align="center">授权总人数 <font style="font-size:24px; color: red;">${size}</font></td>
    	</tr>
    	<tr>
    		<td>id</td>
    		<td>图片</td>
    		<td>姓名</td>
    		<td>手机</td>
    		<td>小区</td>
    		<td>楼栋</td>
    		<td>关系</td>
    		<td>创建时间</td>
    		<td>更改时间</td>
    		<td>支付状态</td>
    		<td>有效期</td>
    		<td>openid</td>
    	</tr>
    	<c:forEach var="v" items="${visitors}">
    	<tr>
   			<td>${v.yid}</td>
   			<td><img alt="" src="${v.yimageurl}" width="100px" height="100px">  </td>
   			<td>${v.yname}</td>
   			<td>${v.yaddress}</td>
   			<td>${v.yphone}</td>
   			<td>${v.yunitdoor}</td>
   			<td>${v.relationship}</td>
   			<td>${v.ycreatetime}</td>
   			<td>${v.yupdatetime}</td>
   			<td>${v.yindate}</td>
   			<td>${v.state}</td>
   			<td>${v.userid}</td>
    	</tr>
    	</c:forEach>
    </table>
  </body>
</html>
